package com.share.order.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Data
@Schema(description = "订单账单")
public class OrderBill
{
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 订单ID */
    @Schema(description = "订单ID")
    private Long orderId;

    /** 账单项明细 */
    @Schema(description = "账单项明细")
    private String billItem;

    /** 账单金额 */
    @Schema(description = "账单金额")
    private BigDecimal billAmount;

    /** 删除标志（0代表存在 2代表删除） */
    @Schema(description = "删除标志（0代表存在 2代表删除）")
    private String delFlag;

    /** 备注 */
    @Schema(description = "备注")
    private String remark;
}